package com.chinatelecom.ifree.business.domain.order;

import java.io.Serializable;
import java.sql.Timestamp;

public class FileEntity implements Serializable {
	private static final long serialVersionUID = -754958032222192907L;
	/** 主键(处理批次) */
	private String batchId;
	/** 文件名 */
	private String fileName;
	/** 文件总记录数 */
	private long totalRecord;
	/** 处理总记录数 */
	private long totalHanldRecord;
	/** 处理成功记录数 */
	private long totalSuccRecord;
	/** 处理失败记录数 */
	private long totalFailRecord;
	/** 上传文件人 */
	private String operator;
	/** 处理时间 */
	private Timestamp createTime;

	public String getBatchId() {
		return batchId;
	}

	public void setBatchId(String batchId) {
		this.batchId = batchId;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public long getTotalRecord() {
		return totalRecord;
	}

	public void setTotalRecord(long totalRecord) {
		this.totalRecord = totalRecord;
	}

	public long getTotalHanldRecord() {
		return totalHanldRecord;
	}

	public void setTotalHanldRecord(long totalHanldRecord) {
		this.totalHanldRecord = totalHanldRecord;
	}

	public long getTotalSuccRecord() {
		return totalSuccRecord;
	}

	public void setTotalSuccRecord(long totalSuccRecord) {
		this.totalSuccRecord = totalSuccRecord;
	}

	public long getTotalFailRecord() {
		return totalFailRecord;
	}

	public void setTotalFailRecord(long totalFailRecord) {
		this.totalFailRecord = totalFailRecord;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return this.getClass().getName() + "[batchId=" + batchId
				+ ", fileName=" + fileName + ", totalRecord=" + totalRecord
				+ ", totalHanldRecord=" + totalHanldRecord
				+ ", totalSuccRecord=" + totalSuccRecord + ", totalFailRecord="
				+ totalFailRecord + ", operator=" + operator + ", createTime="
				+ createTime + "]";
	}
}
